#!/bin/bash

IMAGENAME = qa-webserver:latest

echo $IMAGENAME

echo "git-pull"
git pull

echo "build"
docker build -t $IMAGENAME .

echo "push"
docker tag $IMAGENAME 172.26.100.131/qa-space/$IMAGENAME
docker push 172.26.100.131/qa-space/$IMAGENAME


echo "Done.."